package com.ks.core.framework.cpsupload.demos.orderpayinvoice.event;

import com.ks.core.framework.cpsupload.demos.orderpayinvoice.constant.InvoiceType;
import lombok.Data;

// 发票回调事件
@Data
public class InvoiceCallbackEvent {
    private String orderId;
    private InvoiceType invoiceType;
    private String fileUrl;
    private InvoiceStatus status;
    
    public enum InvoiceStatus {
        ISSUING,    // 开票中
        SUCCESS,    // 成功
        FAILED      // 失败
    }
}